package descriptor;

import java.io.Serializable;


/**
 * TimetableDescriptor
 * 
 * @author Mamadou TOURE
 * 
 * The TimetableDescriptor class defines a constructor to obtain a Java object corresponding to an instance of the Timetable's bean.
 * And it provides all the methods to get or set the Timetable's details.
 *
 */
public class TimetableDescriptor implements Serializable
{
	private static final long serialVersionUID = 1L;
	private int id;
	private String name;
	private int day;
	private int month;
	private int year;
	private int hour;
	private int minute;
	private int studentID;
	private String recruiterName;
	private String offerName;
	
	public TimetableDescriptor(int id,String name,int day,int month,int year,int hour, int minute,int studentID,String recruiterName,String offerName)
	{
		this.id = id;
		this.name = name;
		this.day = day;
		this.month = month;
		this.year = year;
		this.hour = hour;
		this.minute = minute;
		this.studentID = studentID;
		this.recruiterName = recruiterName;
		this.offerName = offerName; 
	}
	
	public int getID() 
	{
		return id;
	}
		
	public void setID(int id)
	{
		this.id = id;
	}
	
	public String getName() 
	{
		return name;
	}
		
	public void setName(String name)
	{
		this.name = name;
	}
	
	public int getDay() 
	{
		return day;
	}
	
	public void setDay(int day) 
	{
		this.day = day;
	}
	
	public int getMonth() 
	{
		return month;
	}
	
	public void setMonth(int month) 
	{
		this.month = month;
	}
	
	public int getYear() 
	{
		return year;
	}
	
	public void setYear(int year) 
	{
		this.year = year;
	}
	
	public int getHour() 
	{
		return hour;
	}
	
	public void setHour(int hour) 
	{
		this.hour = hour;
	}
	
	public int getMinute() 
	{
		return minute;
	}
	
	public void setMinute(int minute) 
	{
		this.minute = minute;
	}
	
	public int getStudentID() 
	{
		return studentID;
	}
	
	public void setStudentID(int studentID) 
	{
		this.studentID = studentID;
	}
	
	public String getRecruiterName() 
	{
		return recruiterName;
	}
	
	public void setRecruiterName(String recruiterName) 
	{
		this.recruiterName = recruiterName;
	}
	
	public String getOfferName() 
	{
		return offerName;
	}
	
	public void setOfferName(String offerName) 
	{
		this.offerName = offerName;
	}
}
